package com.xxx.kjds.service;

import com.xxx.kjds.entity.Company;
import com.xxx.kjds.entity.CompanyExample;

import java.util.List;

public interface CompanyService {
    
    public long countByExample(CompanyExample example);

    
    public int deleteByExample(CompanyExample example);

    
    public int deleteByPrimaryKey(Integer id);

    
    public int insert(Company record);

    
    public int insertSelective(Company record);

    
    public List<Company> selectByExample(CompanyExample example);

    
    public Company selectByPrimaryKey(Integer id);

    
    public int updateByExampleSelective(Company record, CompanyExample example);

    
    public int updateByExample(Company record, CompanyExample example);

    
    public int updateByPrimaryKeySelective(Company record);

    
    public int updateByPrimaryKey(Company record);

    public List<Company> selectAll();

    public Company selectByName(String name);
}
